package com.qqt.csr.web.vo.req;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.qqt.csr.common.idempotent.RequestKeyParam;
import com.qqt.csr.common.operalog.OperaLogSchema;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;

@Getter
@Setter
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
@JsonIgnoreProperties(ignoreUnknown = true)
@Schema(name = "ClosingConversationReqVO", description = "结束会话")
public class ClosingConversationReqVO implements Serializable {
    @Serial
    private static final long serialVersionUID = 4558199741793882884L;

    @Schema(description = "会话id")
    @OperaLogSchema(desc = "会话id")
    @NotBlank(message = "会话id不能为空！")
    @RequestKeyParam
    private String conversationId;
}
